#include "Comm.hpp"
#include "Server.hpp"


int main()
{
    Server se;
    std::string out;

    std::string message;
    while(true)
    {
        if(se.ReadPipe(&message)>0)
            std::cout<<"Client Say: "<<message<<std::endl;
        else
        {
            std::cout<<"Client exit, me too"<<std::endl;
            break;
        }
    }
    return 0;
}